﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Best.SmartCms.Domain.Common;

namespace Best.SmartCms.Domain.Security
{
    /// <summary>
    /// 业务系统
    /// </summary>
    [Table("BusinessSystem")]
    public class BusinessSystem : BaseDomain
    {
        /// <summary>
        /// 编号
        /// </summary>
        [StringLength(50)]
        public string Code { get; set; }

        /// <summary>
        /// 系统名称
        /// </summary>
        [StringLength(50)]
        public string Name { get; set; }
        /// <summary>
        /// 公钥
        /// </summary>
        [StringLength(200)]
        public string AccessKey { get; set; }
        /// <summary>
        /// 私钥
        /// </summary>
        [StringLength(200)]
        public string Secret { get; set; }
        /// <summary>
        /// 远程接口地址
        /// </summary>
        [StringLength(250)]
        public string RemoteUrl { get; set; }
    }
}
